﻿namespace WH.Contracts.Systems.Roles
{
    /// <summary>
    /// 角色角色
    /// </summary>
    public class RoleOutputByPageDto
    {
        /// <summary>
        /// 主键fid
        /// </summary>
        public string? Id { get; set; }

        /// <summary>
        /// 父节点id 默认为0位顶节点
        /// </summary>
        public string? ParentId { get; set; }

        /// <summary>
        /// 编号
        /// </summary>
        public string? Code { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 角色描述
        /// </summary>
        public string? Description { get; set; }

        /// <summary>
        /// 角色类型
        /// </summary>
        public string? TypeCode { get; set; }

        /// <summary>
        /// 角色类型
        /// </summary>
        public string? TypeCodeString { get; set; }

        /// <summary>
        /// 机构ID
        /// </summary>
        public string? OrganizationId { get; set; }

        /// <summary>
        /// 机构名称
        /// </summary>
        public string? OrganizationName { get; set; }
        /// <summary>
        /// 机构名称
        /// </summary>
        public string? FullOrganizationName { get; set; }

        /// <summary>
        /// 状态（0停用 1正常）
        /// </summary>
        public bool IsEnable { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        public string? CreatedBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedTime { get; set; }
    }
}
